<?php session_start(); ?>
<html>
 <head>
	 <title> DSSTFST-NCU </title>
  <script type="text/javascript" src="js/jquery-1.9.1.js"></script>
  <script type="text/javascript" src="js/jquery-ui-1.10.3.custom.js"></script>
  <link rel="stylesheet" href="css/smoothness/jquery-ui-1.10.2.custom.min.css">
  <script type="text/javascript" src="js/admin-function.js"></script>
  <link rel="stylesheet" href="css/textbox&button.css">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <table id="table1" border="0">
	<tr><td id="head01">
	<a href="http://www.northcm.ac.th" target=_blank>
	<img id="logopicture1" src="Picture-project/PNGfile/Picture-University.png" height=130 width= 220 alt="click for go to NCU's webside">
	</td><td id="head01.5">
	<a href="http://www.science-ncu.com/newsci/" target=_blank>
	<img  id="logopicture2" src="Picture-project/PNGfile/Picture-Major.png" height=100 width= 100 alt="click for go to SCI%TECH's webside">
	</td><td id="head02" width="275" height="110">
	<img  id="logopicture3" src="Picture-project/PNGfile/Text-Dataservice.png"   height=75 width= 400>
	</td><td id="head02.5" height=130 width=700>
	<div align=left><font size=5 color=white>WELCOME : 


	<?php if(isset($_SESSION['admin_username']))
	{	
		echo $_SESSION['admin_username'];
		}else
		{	
			 header('Location: index.php');
			 exit;
		}    ?>


	</font></div><br><br><br><br>
	</td><td>
	<img id="logopicture2" src="Picture-project/PNGfile/Text-Logout.png" onClick="window.location='index.php'" style="cursor:pointer;" height=100 width= 140>
	</td></tr>
	</table><br>
 </head>

<body background="Picture-project/background.jpg">
	<table id="menubar" border="0">
	<tr><td>
	<font color="white" size=5>FOR ADMIN</font><br>
	<input type="button" value="ADD SUBJECT" onClick="showSubject();" ><br>
	<input type="button" value="MANAGE SUBJECT" onClick="showMngSubject();"><br>
 	<input type="button" value="ADD INFORMATION" onClick="adminShowInformation();"><br>
    <input type="button" value="MANAGE INFORMATION" onClick="adminMngInformation();"><br>
	<input type="button" value="MEMBER'S PROFILE" onClick="allTchProfile();"><br><br>
	<font color="white" size=5>FACULTY</font><br>
	<input type="button" value="SCI-TECH" onClick="adminShowScitechInformation();"><br>
	<input type="button" value="SOFTWARE" onClick="adminShowSeInformation();"><br>
	<input type="button" value="E-COMMERCE" onClick="adminShowEcomInformation();"><br>
	<input type="button" value="B-COMPUTER" onClick="adminShowBcomInformation();"><br>
	<input type="button" value="IT" onClick="adminShowItInformation();"><br>
	</td></tr>
	</table>

	<table id="adminInformation" border="0">

	</table>
 </body>
</html>
